package com.softeem.score.model.entity.school;

import com.softeem.score.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "Student对象")
public class Student extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "学生姓名")
    private String name;

    @Schema(description = "学生学号")
    private String studentNumber;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "出生日期")
    private LocalDate birthday;

    @Schema(description = "联系方式")
    private String contactInformation;

    @Schema(description = "班级ID")
    private Long classesId;

    @Schema(description = "家庭住址")
    private String address;
}
